package com.time.timespace.domain.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @author mjw
 * @date 2024/06/27
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Schema(description = "菜单表")
@TableName("ts_menu")
public class Menu {

    @Schema(description = "菜单id")
    @TableId
    private Long menuId;

    @Schema(description = "菜单名称")
    private String menuName;

    @Schema(description = "路由地址，存放该菜单的路由信息")
    private String routerPath;

    @Schema(description = "组件路径信息")
    private String componentPath;

    @Schema(description = "菜单显示状态：0显示，1隐藏")
    private String visible;

    @Schema(description = "启用标识：0正常，1停用")
    private String enabledFlag;

    @Schema(description = "权限标识")
    private String permissions;

    @Schema(description = "删除标识，Y表示删除，N表示未删除")
    private String deleteFlag;

    @Schema(description = "创建日期")
    private Date creationDate;

    @Schema(description = "备注")
    private String remark;
}
